/* JAL command line option handling.
   Copyright (C) 2010 Albert Faber.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */

#ifndef JAL_OPTS_H
#define JAL_OPTS_H

extern unsigned int option_lexer_trace;
extern unsigned int option_parser_trace;

unsigned int jal_common_init_options (unsigned int argc, const char **argv);
void jal_common_parse_file (int set_yydebug);
int jal_common_handle_option (size_t scode, const char *arg, int value);
bool jal_common_missing_argument (const char *opt, size_t code);
bool jal_common_post_options (const char **pfilename);
bool jalc_common_init (void);
void c_common_finish (void);

bool jalc_objc_common_init (void);


#endif
